Skip to content

change: add sa-west-1 and me-west-1 to Hugging Face image URI configs - #6597

Draft
Yadan-Wei wants to merge 1 commit into
aws:masterfrom
Yadan-Wei:hf-sa-west-1-me-west-1
Draft

Yadan-Wei wants to merge 1 commit into
aws:masterfrom
Yadan-Wei:hf-sa-west-1-me-west-1

Conversation

@Yadan-Wei

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Adds the sa-west-1 (434457397001) and me-west-1 (124382933778) registries to the Hugging Face DLC image URI configs, so image_uris.retrieve() resolves these images in both regions:

  • huggingface.json: the 33 PyTorch training and inference entries. The 15 TensorFlow entries are unchanged, because those repositories are empty in both regions.
  • huggingface-vllm.json: all 11 entries.
  • huggingface-sglang.json, huggingface-llamacpp.json and huggingface-vllm-omni.json: 1 entry each.

The accounts are the ones the existing DLC configs already use for these regions, for example vllm.json and pytorch-amzn2023.json. The Neuron configs (huggingface-neuronx.json, huggingface-vllm-neuronx.json) and the TGI configs, which the automated image URI config updates generate, are not touched. Only the 94 new registry lines change; the rest of each file is untouched.

Testing done:

  • Checked that the images of every added entry are in both regions' ECR repositories.
  • pytest tests/unit/image_uris in sagemaker-core: 277 passed, 2 skipped.
  • For each added entry, image_uris.retrieve() in both regions returns a URI in the region's account whose tag exists in that region's ECR, for example 434457397001.dkr.ecr.sa-west-1.amazonaws.com/huggingface-vllm:0.31.0-transformers5.15.0-gpu-py312-cu130-ubuntu24.04-v1.0 and 124382933778.dkr.ecr.me-west-1.amazonaws.com/huggingface-pytorch-inference:2.6.0-transformers5.5.3-gpu-py312-cu124-ubuntu22.04. Three 2021 PyTorch training entries (4.4.2, 4.5.0 and 4.10.2) resolve to the same short tags as in the existing regions; this change doesn't affect that.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add the sa-west-1 (434457397001) and me-west-1 (124382933778) registries
to the Hugging Face DLC entries whose images are in both regions: the 33
PyTorch entries in huggingface.json, all 11 in huggingface-vllm.json, and
huggingface-sglang, huggingface-llamacpp and huggingface-vllm-omni.

TensorFlow entries are unchanged because those repositories are empty in
both regions. Neuron and TGI configs are not touched.

This branch is waiting to be deployed

1 waiting deployment
manual-approval — df33f8ef Waiting Nov 19, 2026 by Yadan-Wei via wait-for-approval #1995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant